home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / libs / x / xview / xview3.004 / xview3 / usr / openwin / include / pixrect / pr_dblbuf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-30  |  936 b   |  37 lines

  1. /*    @(#)pr_dblbuf.h 1.7 90/08/31 SMI    */
  2.  
  3. /*
  4.  * Copyright 1986 by Sun Microsystems, Inc.
  5.  */
  6.  
  7. #ifndef pr_dblbuf_DEFINED
  8. #define pr_dblbuf_DEFINED
  9.  
  10. /* Attributes
  11.    Unless otherwise indicated, attributes can be used for gets and sets.
  12. */
  13.  
  14.  
  15. #define PR_DBL_AVAIL    1    /* AVAIL is get only. */
  16. #define PR_DBL_DISPLAY    2
  17. #define PR_DBL_WRITE    3
  18. #define PR_DBL_READ    4
  19. #define PR_DBL_DISPLAY_DONTBLOCK    5
  20.     /* Similar to PR_DBL_DISPLAY, but DONTBLOCK is for set only. */
  21. #define PR_DBL_DEPTH    6    /* get only attribute */
  22. #define PR_DBL_WID    7    /* does wid allow multiple double buffering */
  23. #define PR_DBL_AVAIL_PG    8    /* Avail for a given plane group (get only) */
  24.  
  25.  
  26. /* Attribute values:
  27. */
  28.  
  29. #define PR_DBL_EXISTS    1    /* Value for AVAIL only */
  30. #define PR_DBL_A    2
  31. #define PR_DBL_B    3
  32. #define PR_DBL_BOTH    4    /* for PR_DBL_WRITE only. */
  33. #define PR_DBL_NONE    5
  34.     /* can only be returned by pr_dbl_get with PR_DBL_WRITE attribute. */
  35.  
  36. #endif pr_dblbuf_DEFINED
  37.